package com.ruoyi.classai.domain.vo.px;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 学分记录vo
 */
@Data
@Schema(description="学分记录vo")
public class PxScoreRecordVo {

    /**
     * 培训ID
     */
    @Schema(description  = "培训ID")
    private String id;
    /**
     * 培训名称
     */
    @Schema(description  = "培训名称")
    private String trainingTitle;

    /**
     * 类型
     */
    @Schema(description  = "类型")
    private Integer trainingType;

    /**
     * 学分
     */
    @Schema(description  = "学分")
    private Integer trainingScore;

    /**
     * 获得时间
     */
    @Schema(description  = "获得时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String updateTime;
}
